\documentclass{article}
\usepackage{tikz,amsmath}
\usetikzlibrary{arrows.meta}
\usepackage[graphics,tightpage,active]{preview}
\PreviewEnvironment{tikzpicture}
\begin{document}
\begin{tikzpicture}[>=Stealth]
    \draw (1, 0) arc (0:180:1);
    \node[anchor=north] at (-1, 0) {$A$};
    \node[anchor=north] at (1, 0) {$B$};
\end{tikzpicture}
\end{document}
